package com.xwnet.sys.domain;

import com.xwnet.basic.domain.BasicDomain;

import java.math.BigDecimal;
import java.util.Date;


/**
 * <p>
 *
 * </p>
 *
 * @author xw
 * @since 2022-08-24
 */
public class Dictionaryitem extends BasicDomain {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String title;
    private String value;
    private Integer sequence;
    private String intro;
    private Dictionary parent;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Dictionary getParent() {
        return parent;
    }

    public void setParent(Dictionary parent) {
        this.parent = parent;
    }

    @Override
    public String toString() {
        return "Dictionaryitem{" +
        ", id=" + id +
        ", title=" + title +
        ", value=" + value +
        ", sequence=" + sequence +
        ", intro=" + intro +
        ", parentId=" + parent.getId() +
        "}";
    }
}
